import numpy as np
from manimlib.constants import PI


def sine(t):
    return 0.5 * (-np.cos(PI * t) + 1)


def sine_tab(t):
    return 0.5 * (-np.cos(2 * PI * t) + 1)
